<?php

	/**
	 * Path util.
	 */
	class PathUtil {

		/**
		 * Get directory from where the script is run.
		 * This is unreliable if the pwd is changed!
		 */
		public static function getScriptDir() {
			return dirname($_SERVER["SCRIPT_FILENAME"]);
		}
	}